package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Fitnessknowledge;

/**
 * 健身知识信息Service接口
 * 
 * @author 张英旺
 * @date 2024-02-28
 */
public interface IFitnessknowledgeService 
{
    /**
     * 查询健身知识信息
     * 
     * @param knowledgeId 健身知识信息主键
     * @return 健身知识信息
     */
    public Fitnessknowledge selectFitnessknowledgeByKnowledgeId(Long knowledgeId);

    /**
     * 查询健身知识信息列表
     * 
     * @param fitnessknowledge 健身知识信息
     * @return 健身知识信息集合
     */
    public List<Fitnessknowledge> selectFitnessknowledgeList(Fitnessknowledge fitnessknowledge);

    /**
     * 新增健身知识信息
     * 
     * @param fitnessknowledge 健身知识信息
     * @return 结果
     */
    public int insertFitnessknowledge(Fitnessknowledge fitnessknowledge);

    /**
     * 修改健身知识信息
     * 
     * @param fitnessknowledge 健身知识信息
     * @return 结果
     */
    public int updateFitnessknowledge(Fitnessknowledge fitnessknowledge);

    /**
     * 批量删除健身知识信息
     * 
     * @param knowledgeIds 需要删除的健身知识信息主键集合
     * @return 结果
     */
    public int deleteFitnessknowledgeByKnowledgeIds(Long[] knowledgeIds);

    /**
     * 删除健身知识信息信息
     * 
     * @param knowledgeId 健身知识信息主键
     * @return 结果
     */
    public int deleteFitnessknowledgeByKnowledgeId(Long knowledgeId);
}
